<div id="myDiv">
//onclick获取
<p id="myPar"></p>
<button type="button" onclick="myfunction()"></button>
</div>
<script>
    function myfunction() {
	    document.getElementById("myPar").innerHTML="你好世界！";
	    document.getElementById("myDiv").innerHTML="你最近怎么样?";
    }
</script>
